package dao;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import po.User;
/**
 * 用户DAO层接口
 */
public interface UserDao {
	/**
	 * 通过账号和密码查询用户
	 */
	
	public User findUser(@Param("username") String username,
			                @Param("password") String password);

	public List getUserlist();

	public List<User> getList();

	public int delUser(Integer userid);

	public int addUser(User user);
	
	public User getUserId(Integer user_id);

	public int updateUser(User user);

	public List<User> findList(String data);
	


	
}
